package com.zelin.service.impl;

import com.zelin.dao.StudentDao;
import com.zelin.dao.impl.StudentDaoImpl;
import com.zelin.pojo.Student;
import com.zelin.service.StudentService;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: ZhangXiaoHan
 * @Date: 2020/09/26/19:52
 * @Description:
 */
public class StudentServiceImpl implements StudentService {
    private StudentDao studentDao = new StudentDaoImpl();
    @Override
    public List<Student> find() {
        return studentDao.find();
    }
}
